package rule;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author dushougudu
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Person {
    private String name;

    private boolean adult;

    private int age;


    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }
}
